From 73b491c2a0fdba23ebd8329a650b2a11ec33fb1f Mon Sep 17 00:00:00 2001 From: Ryan Harper Date: Fri, 14 Apr 2006 21:15:38 +0100 Subject: [PATCH] Allow cpus parameter to xm create to accept a range string by removing the restriction of cpus accepting only integers. Signed-off-by: Ryan Harper --- tools/python/xen/xm/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xm/create.py b/tools/python/xen/xm/create.py index 8c3be846bd..2716e7fc44 100644 --- a/tools/python/xen/xm/create.py +++ b/tools/python/xen/xm/create.py @@ -158,7 +158,7 @@ gopts.var('cpu', val='CPU', use="CPU to run the VCPU0 on.") gopts.var('cpus', val='CPUS', - fn=set_int, default=None, + fn=set_value, default=None, use="CPUS to run the domain on.") gopts.var('pae', val='PAE', -- 2.30.2